<?php
include ("config.php");
$con = mysqli_connect("$host","$name","$password","$dbname");
if (!$con) 
{ 
    die("连接错误: " . mysqli_connect_error()); 
} 
?>

